package top.suven.base.user.service;


import top.suven.base.http.exception.SystemRuntimeException;
import top.suven.base.user.dto.request.UserAccountRequestDto;
import top.suven.base.user.dto.response.UserAccountResponseDto;

/**
 * @ClassName:
 * @Description:
 * @Author liulu
 * @Date 2018/5/28 20:34
 * @Copyright: (c) 2018 gc by https://www.gc.com.cn/
 * @Version : 1.0.0
 */
public interface UserAccountService {

    /**
     * @Title:
     * @Description: 根据用户id，用户账号和账号类型查询用户账号信息
     * @param   userAccountRequestDto
     * @return
     * @author liulu
     * @date 2018/5/28 20:35
     */

    public void saveUserAccount(UserAccountRequestDto userAccountRequestDto) throws SystemRuntimeException;


    /**
     * @Title: 根据账号类型和账号找UserAccount对象
     * @Description: accountType;账号类型  accountName;账号
     * @param
     * @return
     * @author heweijie
     * @date 2018/5/30 16:37
     * --------------------------------------------------------
     * modifyer    modifyTime                 comment
     *
     * --------------------------------------------------------
     */
    public UserAccountResponseDto getUserAccountByAccountTypeAndAccountName(UserAccountRequestDto userAccountRequestDto) throws SystemRuntimeException;


}
